x = input("请输入一个正整数：")
cot = 0
a = []
for i in range(len(x)):
    a.append(x[i])
x = ''.join(a[::-1])
print(f"整数位数为：{len(x)} 逆序输出为：{x}")

